<?php echo Modules::run('content/header_content') ?>
 
	<div class="container main">
		<div>
      
      
			<div class="15">
        		<div class="row">
          			<div class="span15 content">
  						<h1>My Account Information</h1>  
          			</div>
        		</div>
        		<div class="row">
          			<?php $user_id = Modules::run('auth/get_user_id'); ?>
          			<div class="span15 content">
            			<div class="row box-product-row box">
              				<div class="just list" id="orderHistory">
                				<div class="box-product-list mix" style="display:inline-block; opacity:1;">
                  					<div class="row">
                                    	<div class="span14" id="myaccount">
                                        	<h3>Your Personal Details</h3>
                                            <div class="content-account">
                                            <table style="width: 100%;">
                                                <tr>
                                    				<td>
                                                        <b>Name : </b><?php echo $address->first_name ?> <?php echo $address->last_name ?><br />
                                                        <b>Telephone : </b><?php echo $address->telephone ?><br />
                                                        <b>Address 1 : </b><?php echo $address->address1 ?><br />
                                                        <b>Address 2 : </b><?php echo $address->address2 ?><br />
                                                        <b>State/City : </b><?php echo $address->city ?><br />
                                                        <b>Zip Code : </b><?php echo $address->post_code ?><br />
                                                        <b>Region : </b>
														<?php $region = $this->account_model->get_region_by_customer($address->region_id); ?>
														<?php echo $region->name ?><br />
                                                        <b>Country : </b>
														<?php $country = $this->account_model->get_country_by_customer($address->country_id); ?>
														<?php echo $country->name ?><br />
                                        			</td>
                                                    <td>
                                                    	<a style="text-decoration:none;" href="<?php echo site_url('account/address_edit/'.$address->customer_id);?>" class="btn btn-info" id="cancel" type="button" name="edit" value="Edit">Edit</a>
                                                    </td>
                                    			</tr>
                                            </table>
                                            </div>
                                        </div>
                  					</div>
               					</div>
              				</div>
                            <div class="order-back">
              					<a href="<?php echo site_url('account'); ?>" class="btn" id="cancel" type="button" name="back" value="Back">Back</a>
              				</div>
			  
              				<div class="clearfix">
           					</div>
             
          				</div>
          
        			</div>
      			</div>
    		</div>
  		</div>
	</div>
</div>



<?php echo Modules::run('content/footer_content') ?>